Multiple Geography Service Routing

ABSTRACT

Methods and systems for routing a user request for a service to a version of the service in a geographical region associated with the user are described herein. The service may be deployed in multiple geographical regions, and the service may have multiple versions in each of the geographical regions. A user device may send a request for a service to a first server in a geographical region. The first server may determine whether the user is associated with the geographical region. Responsive to determining that the user is not associated with the geographical region, the first server may ask one or more servers in other geographical regions whether the user is associated with any of the other geographical regions.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of and claims priority to U.S. patentapplication Ser. No. 15/875,424, filed Jan. 19, 2018, and entitled“MULTIPLE GEOGRAPHY SERVICE ROUTING,” which is hereby incorporated byreference in its entirety.

FIELD

Aspects described herein generally relate to computer and networkhardware and software. In particular, the present disclosure relates tomethods and systems for routing user requests for services amongmultiple versions of the service in a multiple geography environment.

BACKGROUND

Enterprises are increasingly adopting cloud computing services, as wellas new approaches to data storage including object storage, in order totake advantage of the benefits of not having to purchase and manage thesystems and applications. Cloud computing services have broken downtraditional geographical barriers, as the cloud computing services canbe running on cloud computing servers distributed in multiplegeographical regions around the world. User data may be stored in any ofthe cloud computing servers. Storing user data in multiple geographicalregions may make the user data vulnerable to subpoena, theft, orappropriation in the geographical regions in which the user data isstored. Additionally, data sovereignty laws may require a user's data tobe physically stored only in the geographical region in which the userresides.

SUMMARY

The following presents a simplified summary of various aspects describedherein. This summary is not an extensive overview, and is not intendedto identify required or critical elements or to delineate the scope ofthe claims. The following summary merely presents some concepts in asimplified form as an introductory prelude to the more detaileddescription provided below.

Examples described herein are directed towards a system, an apparatus,and/or computer readable media configured to perform a method forrouting a user request for a service among multiple versions of theservice in a multiple geography environment. The method may includereceiving, by a first server of a plurality of servers and from a userdevice, a request for a service comprising a plurality of differentversions of the service. The first server may be located in a firstgeographical region. The first server may determining whether a user ofthe user device is associated with the first geographical region.Responsive to determining that the user is not associated with the firstgeographical region, the first server may send to a second server of theplurality of servers a request to determine whether the user isassociated with a second geographical region different from the firstgeographical region. The second server may be located in the secondgeographical region. The first server may receive from the second servera response indicating that the user is associated with the secondgeographical region. The response may comprise routing information forthe request for the service. The routing information may indicate aversion of the service of the plurality of different versions of theservice. Based on the routing information, the first server may routethe request for the service.

In some examples, the first server may receive from the second server ofthe plurality of servers a request to determine whether a second user isassociated with the first geographical region. Responsive to determiningthat the second user is associated with the first geographical region,the first server may send to the second server of the plurality ofservers a second response indicating that the second user is associatedwith the first geographical region.

In some examples, the first server may receive from a second user devicea second request for the service, determine whether a second user of thesecond user device is associated with the first geographical region,and, responsive to determining that the second user is associated withthe first geographical region, determine a version of the service tosend the second request.

In some examples, the first server may store the routing information ina cache of the first server. The first server may receive a secondrequest for the service, determine whether the cache stores informationconfigured to route the second request for the service, and, responsiveto determining that the cache stores the information configured to routethe second request for the service, send the second request for theservice based on the information.

In some examples, a destination URL of the request for the service doesnot indicate the first geographical region or the second geographicalregion, and the receiving the request for the service includes receivingthe request for the service via a traffic manager. In some examples, thedetermining whether the user is associated with the first geographicalregion includes determining whether the user is allowed to send data tothe first geographical region under data sovereignty laws. In someexamples, the routing information is configured to direct the requestfor the service to a version of the service in the first geographicalregion or in the second geographical region.

These and additional aspects will be appreciated with the benefit of thedisclosures discussed in further detail below.

BRIEF DESCRIPTION OF THE DRAWINGS

A more complete understanding of aspects described herein and theadvantages thereof may be acquired by referring to the followingdescription in consideration of the accompanying drawings, in which likereference numbers indicate like features, and wherein:

FIG. 1 depicts an illustrative computer system architecture that may beused in accordance with one or more illustrative aspects describedherein.

FIG. 2 depicts an illustrative remote-access system architecture thatmay be used in accordance with one or more illustrative aspectsdescribed herein.

FIG. 3 depicts an illustrative example of a system for routing a requestfor a service to a version of the service.

FIG. 4 depicts an illustrative example of a system for routing a requestfor a service to a service router of one or more service routers locatedin different geographical regions.

FIG. 5 depicts an illustrative example of a system and method forrouting a request for a service to a version of the service in ageographical region.

FIG. 6 depicts an illustrative example of a system and method forrouting a request for a service to a version of the service.

FIG. 7 depicts an illustrative example of a system and method forrouting a request for a service where the service is available in ageographical region.

FIG. 8 depicts an illustrative example of a system and method forrouting a request for a service where the user provides an indication ofa specific geographical region.

FIG. 9 depicts an illustrative example of a method for routing a requestfor a service in a multiple geography environment.

FIG. 10 depicts an illustrative example of a method for processing arequest from a first geographical region to determine whether the useris associated with a second geographical region.

DETAILED DESCRIPTION

In the following description of the various examples, reference is madeto the accompanying drawings identified above and which form a parthereof, and in which is shown by way of illustration various examples inwhich aspects described herein may be practiced. It is to be understoodthat other examples may be utilized and structural and functionalmodifications may be made without departing from the scope describedherein. Various aspects are capable of other examples and of beingpracticed or being carried out in various different ways.

As a general introduction to the subject matter described in more detailbelow, aspects described herein are directed towards routing a user'srequest for a service to a service server running a version of theservice. The service may be deployed in multiple geographical regions.The user may use a single Domain Name System (DNS) name to access theservice in a particular geographical region with the help of a trafficmanager. Because of privacy or security concerns or data sovereigntylaws, the user may be limited to accessing the service in onegeographical region (e.g., the geographical region where the userresides). As such, a service router in each geographical region maydetermine whether the user is allowed to access the service in thatgeographical region. If the user is not allowed to access the service inthat geographical region, the service router may ask the service routersin the other geographical regions to determine whether the user isallowed to access the service in one of the other geographical regions.

It is to be understood that the phraseology and terminology used hereinare for the purpose of description and should not be regarded aslimiting. Rather, the phrases and terms used herein are to be giventheir broadest interpretation and meaning. The use of “including” and“comprising” and variations thereof is meant to encompass the itemslisted thereafter and equivalents thereof as well as additional itemsand equivalents thereof. The use of the terms “mounted,” “connected,”“coupled,” “positioned,” “engaged” and similar terms, is meant toinclude both direct and indirect mounting, connecting, coupling,positioning and engaging.

Computing Architecture

Computer software, hardware, and networks may be utilized in a varietyof different system environments, including standalone, networked,remote-access (also known as remote desktop), virtualized, and/orcloud-based environments, among others. FIG. 1 illustrates one exampleof a system architecture and data processing device that may be used toimplement one or more illustrative aspects described herein in astandalone and/or networked environment. Various network nodes 103, 105,107, and 109 may be interconnected via a wide area network (WAN) 101,such as the Internet. Other networks may also or alternatively be used,including private intranets, corporate networks, local area networks(LAN), metropolitan area networks (MAN), wireless networks, personalnetworks (PAN), and the like. Network 101 is for illustration purposesand may be replaced with fewer or additional computer networks. A localarea network 133 may have one or more of any known LAN topology and mayuse one or more of a variety of different protocols, such as Ethernet.Devices 103, 105, 107, and 109 and other devices (not shown) may beconnected to one or more of the networks via twisted pair wires, coaxialcable, fiber optics, radio waves, or other communication media.

The term “network” as used herein and depicted in the drawings refersnot only to systems in which remote storage devices are coupled togethervia one or more communication paths, but also to stand-alone devicesthat may be coupled, from time to time, to such systems that havestorage capability. Consequently, the term “network” includes not only a“physical network” but also a “content network,” which is comprised ofthe data—attributable to a single entity—which resides across allphysical networks.

The components may include data server 103, web server 105, and clientcomputers 107, 109. Data server 103 provides overall access, control andadministration of databases and control software for performing one ormore illustrative aspects describe herein. Data server 103 may beconnected to web server 105 through which users interact with and obtaindata as requested. Alternatively, data server 103 may act as a webserver itself and be directly connected to the Internet. Data server 103may be connected to web server 105 through the local area network 133,the wide area network 101 (e.g., the Internet), via direct or indirectconnection, or via some other network. Users may interact with the dataserver 103 using remote computers 107, 109, e.g., using a web browser toconnect to the data server 103 via one or more externally exposed websites hosted by web server 105. Client computers 107, 109 may be used inconcert with data server 103 to access data stored therein, or may beused for other purposes. For example, from client device 107 a user mayaccess web server 105 using an Internet browser, as is known in the art,or by executing a software application that communicates with web server105 and/or data server 103 over a computer network (such as theInternet).

Servers and applications may be combined on the same physical machines,and retain separate virtual or logical addresses, or may reside onseparate physical machines. FIG. 1 illustrates just one example of anetwork architecture that may be used, and the specific networkarchitecture and data processing devices used may vary, and aresecondary to the functionality that they provide, as further describedherein. For example, services provided by web server 105 and data server103 may be combined on a single server.

Each component 103, 105, 107, 109 may be any type of known computer,server, or data processing device. Data server 103, e.g., may include aprocessor 111 controlling overall operation of the data server 103. Dataserver 103 may further include random access memory (RAM) 113, read onlymemory (ROM) 115, network interface 117, input/output interfaces 119(e.g., keyboard, mouse, display, printer, etc.), and memory 121.Input/output (I/O) 119 may include a variety of interface units anddrives for reading, writing, displaying, and/or printing data or files.Memory 121 may further store operating system software 123 forcontrolling overall operation of the data processing device 103, controllogic 125 for instructing data server 103 to perform aspects describedherein, and other application software 127 providing secondary, support,and/or other functionality which may or might not be used in conjunctionwith aspects described herein. The control logic may also be referred toherein as the data server software 125. Functionality of the data serversoftware may refer to operations or decisions made automatically basedon rules coded into the control logic, made manually by a user providinginput into the system, and/or a combination of automatic processingbased on user input (e.g., queries, data updates, etc.).

Memory 121 may also store data used in performance of one or moreaspects described herein, including a first database 129 and a seconddatabase 131. In some examples, the first database may include thesecond database (e.g., as a separate table, report, etc.). That is, theinformation can be stored in a single database, or separated intodifferent logical, virtual, or physical databases, depending on systemdesign. Devices 105, 107, and 109 may have similar or differentarchitecture as described with respect to device 103. The functionalityof data processing device 103 (or device 105, 107, or 109) as describedherein may be spread across multiple data processing devices, forexample, to distribute processing load across multiple computers, tosegregate transactions based on geographic location, user access level,quality of service (QoS), etc.

One or more aspects may be embodied in computer-usable or readable dataand/or computer-executable instructions, such as in one or more programmodules, executed by one or more computers or other devices as describedherein. Generally, program modules include routines, programs, objects,components, data structures, etc. that perform particular tasks orimplement particular abstract data types when executed by a processor ina computer or other device. The modules may be written in a source codeprogramming language that is subsequently compiled for execution, or maybe written in a scripting language such as (but not limited to)HyperText Markup Language (HTML) or Extensible Markup Language (XML).The computer executable instructions may be stored on a computerreadable medium such as a nonvolatile storage device. Any suitablecomputer readable storage media may be utilized, including hard disks,CD-ROMs, optical storage devices, magnetic storage devices, and/or anycombination thereof. In addition, various transmission (non-storage)media representing data or events as described herein may be transferredbetween a source and a destination in the form of electromagnetic wavestraveling through signal-conducting media such as metal wires, opticalfibers, and/or wireless transmission media (e.g., air and/or space).Various aspects described herein may be embodied as a method, a dataprocessing system, or a computer program product. Therefore, variousfunctionalities may be embodied in whole or in part in software,firmware, and/or hardware or hardware equivalents such as integratedcircuits, field programmable gate arrays (FPGA), and the like.Particular data structures may be used to more effectively implement oneor more aspects described herein, and such data structures arecontemplated within the scope of computer executable instructions andcomputer-usable data described herein.

With further reference to FIG. 2, one or more aspects described hereinmay be implemented in a remote-access environment. FIG. 2 depicts anexample system architecture including a computing device 201 in anillustrative computing environment 200 that may be used according to oneor more illustrative aspects described herein. Computing device 201 maybe used as a server 206 a in a single-server or multi-server desktopvirtualization system (e.g., a remote access or cloud system) configuredto provide virtual machines for client access devices. The computingdevice 201 may have a processor 203 for controlling overall operation ofthe server and its associated components, including RAM 205, ROM 207,Input/Output (I/O) module 209, and memory 215.

I/O module 209 may include a mouse, keypad, touch screen, scanner,optical reader, and/or stylus (or other input device(s)) through which auser of computing device 201 may provide input, and may also include oneor more of a speaker for providing audio output and one or more of avideo display device for providing textual, audiovisual, and/orgraphical output. Software may be stored within memory 215 and/or otherstorage to provide instructions to processor 203 for configuringcomputing device 201 into a special purpose computing device in order toperform various functions as described herein. For example, memory 215may store software used by the computing device 201, such as anoperating system 217, application programs 219, and an associateddatabase 221.

Computing device 201 may operate in a networked environment supportingconnections to one or more remote computers, such as terminals 240 (alsoreferred to as client devices). The terminals 240 may be personalcomputers, mobile devices, laptop computers, tablets, or servers thatinclude many or all of the elements described above with respect to thecomputing device 103 or 201. The network connections depicted in FIG. 2include a local area network (LAN) 225 and a wide area network (WAN)229, but may also include other networks. When used in a LAN networkingenvironment, computing device 201 may be connected to the LAN 225through a network interface or adapter 223. When used in a WANnetworking environment, computing device 201 may include a modem 227 orother wide area network interface for establishing communications overthe WAN 229, such as computer network 230 (e.g., the Internet). Thenetwork connections shown are illustrative and other means ofestablishing a communications link between the computers may be used.Computing device 201 and/or terminals 240 may also be mobile terminals(e.g., mobile phones, smartphones, personal digital assistants (PDAs),notebooks, etc.) including various other components, such as a battery,speaker, and antennas (not shown).

Aspects described herein may also be operational with numerous othergeneral purpose or special purpose computing system environments orconfigurations. Examples of other computing systems, environments,and/or configurations that may be suitable for use with aspectsdescribed herein include, but are not limited to, personal computers,server computers, hand-held or laptop devices, multiprocessor systems,microprocessor-based systems, set top boxes, programmable consumerelectronics, network personal computers (PCs), minicomputers, mainframecomputers, distributed computing environments that include any of theabove systems or devices, and the like.

As shown in FIG. 2, one or more client devices 240 may be incommunication with one or more servers 206 a-206 n (generally referredto herein as “server(s) 206”). In one example, the computing environment200 may include a network appliance installed between the server(s) 206and client machine(s) 240. The network appliance may manageclient/server connections, and in some cases can load balance clientconnections amongst a plurality of backend servers 206.

The client machine(s) 240 may in some examples be referred to as asingle client machine 240 or a single group of client machines 240,while server(s) 206 may be referred to as a single server 206 or asingle group of servers 206. In one example a single client machine 240communicates with more than one server 206, while in another example asingle server 206 communicates with more than one client machine 240. Inyet another example, a single client machine 240 communicates with asingle server 206.

A client machine 240 can, in some examples, be referenced by any one ofthe following non-exhaustive terms: client machine(s); client(s); clientcomputer(s); client device(s); client computing device(s); localmachine; remote machine; client node(s); endpoint(s); or endpointnode(s). The server 206, in some examples, may be referenced by any oneof the following non-exhaustive terms: server(s), local machine; remotemachine; server farm(s), or host computing device(s).

In one example, the client machine 240 may be a virtual machine (and/ora domain). The virtual machine may be any virtual machine, while in someexamples the virtual machine may be any virtual machine managed by aType 1 or Type 2 hypervisor, for example, a hypervisor developed byCitrix Systems, IBM, VMware, or any other hypervisor. In some aspects,the virtual machine may be managed by a hypervisor, while in otheraspects the virtual machine may be managed by a hypervisor executing ona server 206 or a hypervisor executing on a client 240.

Some examples include a client device 240 that displays applicationoutput generated by an application remotely executing on a server 206 orother remotely located machine. In these examples, the client device 240may execute a virtual machine receiving program or application todisplay the output in an application window, a browser, or other outputwindow. In one example, the application is a desktop, while in otherexamples the application is an application that generates or presents adesktop. A desktop may include a graphical shell providing a userinterface for an instance of an operating system in which local and/orremote applications can be integrated. Applications, as used herein, areprograms that execute after an instance of an operating system (and,optionally, also the desktop) has been loaded.

The server 206, in some examples, uses a remote presentation protocol orother program to send data to a thin-client or remote-displayapplication executing on the client to present display output generatedby an application executing on the server 206. The thin-client orremote-display protocol can be any one of the following non-exhaustivelist of protocols: the Independent Computing Architecture (ICA) protocoldeveloped by Citrix Systems, Inc. of Ft. Lauderdale, Fla.; or the RemoteDesktop Protocol (RDP) manufactured by the Microsoft Corporation ofRedmond, Wash.

A remote computing environment may include more than one server 206a-206 n such that the servers 206 a-206 n are logically grouped togetherinto a server farm 206, for example, in a cloud computing environment.The server farm 206 may include servers 206 that are geographicallydispersed while and logically grouped together, or servers 206 that arelocated proximate to each other while logically grouped together.Geographically dispersed servers 206 a-206 n within a server farm 206can, in some examples, communicate using a WAN (wide), MAN(metropolitan), or LAN (local), where different geographic regions canbe characterized as: different continents; different regions of acontinent; different countries; different states; different cities;different campuses; different rooms; or any combination of the precedinggeographical locations. In some examples the server farm 206 may beadministered as a single entity, while in other examples the server farm206 can include multiple server farms.

In some examples, a server farm may include servers 206 that execute asubstantially similar type of operating system platform (e.g., WINDOWS,UNIX, LINUX, iOS, ANDROID, SYMBIAN, etc.) In other examples, server farm206 may include a first group of one or more servers that execute afirst type of operating system platform, and a second group of one ormore servers that execute a second type of operating system platform.

Server 206 may be configured as any type of server, as needed, e.g., afile server, an application server, a web server, a proxy server, anappliance, a network appliance, a gateway, an application gateway, agateway server, a virtualization server, a deployment server, a SecureSockets Layer (SSL) VPN server, a firewall, a web server, an applicationserver or as a master application server, a server executing an activedirectory, or a server executing an application acceleration programthat provides firewall functionality, application functionality, or loadbalancing functionality. Other server types may also be used.

Some examples include a first server 206 a that receives requests from aclient machine 240, forwards the request to a second server 206 b (notshown), and responds to the request generated by the client machine 240with a response from the second server 206 b (not shown.) First server206 a may acquire an enumeration of applications available to the clientmachine 240 and well as address information associated with anapplication server 206 hosting an application identified within theenumeration of applications. First server 206 a can then present aresponse to the client's request using a web interface, and communicatedirectly with the client 240 to provide the client 240 with access to anidentified application. One or more clients 240 and/or one or moreservers 206 may transmit data over network 230, e.g., network 101.

Multiple Geography Service Routing

FIG. 3 depicts an illustrative example of a system for routing a requestfor a service to a version of the service. The system may include a userdevice 301, a service router 303, and one or more service servers305A-305N. The user device 301 may communicate with the service servers305A-305N using the service router 303. The user device 301 may comprisean end point device, client computers 107, 109, terminals 240, mobiledevices, or any other device. The mobile devices may be a smartphone, atablet, and the like. One or more applications may be running on theuser device 301. The service router 303 may comprise a server (e.g.,servers 201, 206), computing device, or any other device configured toperform the functions disclosed herein. For example, the service router303 may be a canary server.

The service servers 305A-305N may be a server (e.g., servers 201, 206),computing device, or any other device. A service may be running on eachof the service servers 305A-305N. The service may be a cloud service, anemail service, a storage service, or other types of services. Theservice may have multiple versions, and each version of the service maybe running on a different service server of the service servers305A-305N.

For example, the service server 305A may implement a stable version ofthe service, which most of the users may use. The stable version mayhave few technical problems that need to be debugged or undesirablefeatures that the users do not like. On the other hand, the serviceserver 305B may implement a new version of the service, with newfeatures added. The new version may have potential technical problems orundesirable features that may emerge as the new version is rolling outto the users.

The illustrative system shown in FIG. 3 may be used to roll out the newversion of the service smoothly, with minimum disturbance to the users.The system may reduce the risk of introducing a new software version byslowly rolling out the change to a small subset of the users beforerolling it out to the entire set of the users. If problems with respectto the new version are identified while the small subset of the usersare using the new version, the system may switch the small subset of theusers back to the stable version until the problems are fixed. If noproblem is identified, the system may increase the number of users whoserequests for the service are routed to the new version, until all theusers are switched to the new version.

The user device 301 may send a request for the service to the servicerouter 303. Responsive to receiving the request for the service, theservice router 303 may determine to which service server of the serviceservers 305A-305N the request for the service is to be routed. Thisdetermination may be made based on different rules of the service router303.

For example, a random sample may be used to choose the users who will beswitched to the new version. In another example, the new version may befirst released to the service provider's internal users and employees.In yet another example, the users may be chosen based on their profileand demographics. Other rules may also be used. Based on thedetermination of the service router 303, the request for the service maybe routed to the chosen service server of the service servers 305A-305N.

FIG. 4 depicts an illustrative example of a system for routing a requestfor a service to a service router of one or more service routers locatedin different geographical regions. The system may include a user device401, a traffic manager 403, one or more service routers 405A-405N, andone or more service servers (not illustrated). The user device 401 maydirectly communicate with the service routers 405A-405N, and/or maycommunicate with the service routers via the traffic manager 403. Thetraffic manager 403 may communicate with user device 401, and maycommunicate with the service routers 405A-405N.

The service routers 405A-405N may be physically located in differentgeographical regions. For example, the service router 405A may bephysically located in the United States, the service router 405B may bephysically located in Germany, and the other service routers may bephysically located in other countries, such as Canada, Japan, SouthKorea, China, and so on. In another example, the service routers405A-405N may be located in different subnational regions, such as thenortheastern United States, the midwestern United States, the southernUnited States, or the western United States. In yet another example, theservice routers 405A-405B may be located in different states, provinces,etc. of a federal government, such as the different states of the UnitedStates.

Each of the service routers 405A-405N may have a registered DNS namethat points to each of the service routers 405A-405N. For example, a DNSname service-405A.serviceprovider.net may point to the service router405A, a DNS name service-405B.serviceprovider.net may point to theservice router 405B, and so on. Because the service routers 405A-405Nmay be distributed in different geographical regions, their DNS namesmay be based on their geographical regions. For example, a DNS nameservice-US.serviceprovider.net may point to the service router 405A ifthe service router 405A is located in the United States, a DNS nameservice-EU.serviceprovider.net may point to the service router 405B ifthe service router 405B is located in Europe, and so on.

The service itself may have a registered DNS name (e.g., a singleregistered DNS name) For example, the DNS name may beservice.serviceprovider.net. A user can use the DNS name to access theservice without specifying the specific geographical region or servicerouter. The traffic manager 403 may direct the user's request for theservice to one of the geographical regions. For example, the DNS namemay point to the traffic manager 403. The traffic manager 403 maytranslate or resolve the DNS name into a DNS name or network address ofthe service in one particular geographical region.

The service routers 405A-405N may be configured to perform one or moreof the same functions as the service router 303. For example, in each ofthe geographical regions, there may be one or more service serversimplementing different versions of the service, and those serviceservers may interact with the service router located in the samegeographical region according to the methods discussed with reference toFIG. 3. Upon receiving a request for a service, a service router of theservice routers 405A-405N may choose a service version to which to routethe request. In addition, the service routers 405A-405N may beconfigured to perform one or more functions as discussed below.

In one example, a user may cause the user device 401 to communicatedirectly with the service routers 405A-405N by specifying the DNS nameof the service router that the user intends to access. For example, theuser may enter service-US.serviceprovider.net to access a service routerin the United States and subsequently a version of the service in theUnited States. In this example, the user may need to know thegeographical region to which the user intends to send the request forthe service.

In another example, a user may cause the user device 401 to communicatewith the service routers 405A-405N using the traffic manager 403. Insuch examples, the user might not specify the service router or thegeographical region to which the user intends to send the request forthe service. Rather, the user may enter the single DNS name associatedwith the service (e.g., service.serviceprovider.net). The single DNSname may point to the traffic manager 403, and the traffic manager 403may direct the user's request for the service to a particulargeographical region and/or the service router therein.

For example, a service may have a global DNS name. The user may enterinto the user device 401 a URL comprising the global DNS name to requestthe service. The global DNS name may point to the traffic manager 403.Based on the global DNS name, the user device 401 may inform the trafficmanager 403 that the user device intends to access the service. Thetraffic manager 403 may choose a service router of the service routers405A-405N to which to send the user request. Then the traffic manager403 may return, to the user device 401, the DNS name or other networkaddress of the chosen service router. The user device 401 may send therequest for the service to the chosen service router based on thereturned DNS name or other network address.

The traffic manager 403 may choose the service router to which to sendthe user's request for the service according to its own rules. Forexample, the traffic manager 403 may choose the service router that isgeographically nearest the user device 401. The traffic manager 403 maymaintain a list of locations corresponding to the service routers, orotherwise determine the location of the service routers. The trafficmanager 403 may gather information regarding the location of the userdevice 401 (e.g. by asking the user device 401 to send its GlobalPositioning System or other location information to the traffic manager403). Based on the location of the service routers and the location ofthe user device, the traffic manager 403 may determine the servicerouter that is geographically nearest the user device 401.

In another example, the traffic manager 403 may monitor the health ofeach of the service routers 405A-405N, such as their current load,input/output utilization, storage space usage, responsiveness torequests, and/or the conditions of the hardware (e.g., temperature ofthe central processing unit, power supply conditions, etc.). The trafficmanager 403 may choose the most healthy service router to which to sendthe user's request for the service. Additionally or alternatively, thetraffic manager 403 may choose the service router based on othermethods.

The traffic manager 403 may comprise a server configured to perform oneor more of the functions discussed herein. The traffic manager 403 maybe a DNS name server, or a server associated with the DNS name server.The traffic manager 403 may be a Global Server Load Balancing (GSLB)server.

In other examples, the user device 401 may send the request for theservice to the traffic manager 403. The traffic manager 403 may receivethe request for the service and route the request for the service to oneof the service routers 405A-405N.

When the user requests a service using, for example, a DNS name thatdoes not specify the geographical region to which the user intends tosend the request, the service router 405A-405N that receives the requestfor the service might not know the geographical region that the userintended to access. The service router 405A-405N might only know thatthe user intended to access the service.

Because the service routers 405A-405N may be located in differentgeographical regions, and the service may be running in differentgeographical regions, it might be advantageous for the system to sendthe user's request for the service to the geographical region in whichthe user resides. For example, data sovereignty laws of a geographicalregion may prohibit the residents of the geographical region fromsending data physically outside the geographical region. In anotherexample, a user may want to store data in or send data to only thegeographical region in which the user resides because of privacy and/orsecurity concerns. Sending data to or storing data outside of thegeographical region of the user's residence may make the data vulnerableto subpoena, theft, or destruction in the other geographical regions.

FIG. 5 depicts an illustrative example of a system and method forrouting a request for a service to a version of the service in ageographical region. The system may include a first geographical region501, a second geographical region 503, a user device 505, a trafficmanager 507, one or more service routers (e.g., service routers 509,511), and one or more service servers (e.g., service servers 513A, 513B,515A, 515B). The service router 509 and the service servers 513A, 513Bmay be physically located in the first geographical region 501. Theservice router 511 and the service servers 515A, 515B may be physicallylocated in the second geographical region 503. The elements areillustrative only, and it can be appreciated that there may be more orless than two geographical regions, more or less than two servicerouters, and/or more or less than two service servers in eachgeographical region.

A user may be a resident of the first geographical region 501, and theuser may be using the user device 505 in the first geographical region.The user may enter a single DNS name to request the service. The singleDNS name may point to the traffic manager 507. In step 551, the userdevice 505 may send a request for the traffic manager 507 to resolve thesingle DNS name. The traffic manager 507 may choose the service router509 to which to redirect the request for the service. In step 553, thetraffic manager 507 may return the DNS name or other network address ofthe chosen service router 509. In step 555, the user device 505 may sendthe request for the service to the service router 509 based on thereturned DNS name or other network address, and the service router 509may receive the request for the service.

Additionally or alternatively, the user device 505 may send the requestfor the service to the traffic manager 507. The traffic manager 507 mayreceive the request for the service and route the request for theservice to the service router 509. The traffic manager 507 may route therequest for the service to the service router 509 based on the DNS nameor other network address, and the service router 509 may receive therequest for the service.

The service router 509 may parse the URL of the request for the serviceand process the context of the request to determine the service that theuser is requesting and/or the identity of the user. If the servicerouter 509 determines that the service that the user is requesting isnot available, the service router 509 may send a notice of failure tothe user device 505.

The service router 509 may determine that the service that the user isrequesting is available in the first geographical region 501, and thatthe user is allowed to send data to the first geographical region 501under data sovereignty laws or privacy and security concerns. Theservice router 509 may choose the version of the service running onservice server 513A, and send the request for the service to the serviceserver 513A.

FIG. 6 depicts an illustrative example of a system and method forrouting a request for a service to a version of the service. The systemmay include a first geographical region 601, a second geographicalregion 603, a user device 605, a traffic manager 607, one or moreservice routers (e.g., service routers 609, 611), and one or moreservice servers (e.g., service servers 613A, 613B, 615A, 615B). Theservice router 609 and the service servers 613A, 613B may be physicallylocated in the first geographical region 601. The service router 611 andthe service servers 615A, 615B may be physically located in the secondgeographical region 603. The elements are illustrative only, and it canbe appreciated that there may be more or less than two geographicalregions, more or less than two service routers, and more or less thantwo service servers in each geographical region.

A user may be a resident of the second geographical region 603, and theuser may be using the user device 605 in the first geographical region601. For example, the user may be on a business trip in the firstgeographical region 601. The user may enter a single DNS name to requestthe service. The single DNS name may point to the traffic manager 607.In step 651, the user device 605 may send a request for the trafficmanager 607 to resolve the single DNS name The traffic manager 607 maychoose the service router 609 to which to redirect the request for theservice. In step 653, the traffic manager 607 may return the DNS name orother network address of the chosen service router 609. In step 655, theuser device 605 may send the request for the service to service router609 based on the returned DNS name or other network address, and theservice router 609 may receive the request for the service.

Additionally or alternatively, the user device 605 may send the requestfor the service to the traffic manager 607. The traffic manager 607 mayreceive the request for the service and route the request for theservice to the service router 609. The traffic manager 607 may route therequest for the service to the service router 609 based on the DNS nameor other network address, and the service router 609 may receive therequest for the service.

The service router 609 may parse the URL of the request for the serviceand process the context of the request to determine the service that theuser is requesting and/or the identity of the user. The service router609 may determine that the service that the user is requesting isavailable in the first geographical region 601, the user is notassociated with (e.g., not a resident of) the first geographical region601, and/or that the user did not specify the user's intention about thegeographical region to send the request for the service. For example,the user may have entered a DNS name that did not indicate ageographical region.

Upon making these determinations, the service router 609 may attempt todetermine whether the user may be associated with other geographicalregions. The service router 609 may maintain a list of service routersthat are cooperating with the service router 609 in determining aparticular user's association with any of the service routers. Theservice router may send requests to one or more of the service routerson the list. In step 657, the service router 609 may send, to theservice router 611, a request to determine if the user is associatedwith the second geographical region 603. The service router 611 maydetermine that the user is associated with the second geographicalregion 603 (e.g., is a resident of the second geographical region 603),and chooses the service server 615A in the second geographical region603 as the destination to which to send the user's request for theservice. In step 659, the service router 611 may send a response to theservice router 609. The response may indicate that the user isassociated with the second geographical region 603, and specify the DNSname or other network address of the service server 615A. In step 661,the service router 609 may send the request for the service to theservice server 615A.

The service router 609 may include or communicate with a cache 617,which may be configured to store the response received from the servicerouter 611, including the routing information. The information stored inthe cache 617 can be used the next time the service router 609 receivesa request for the service from the user of the user device 605. In thatcase, the service router 609 may check the cache 617 to determine ifthere is routing information associated with the user, before theservice router 609 sends the request to the other service router 611(e.g., in step 657). If routing information associated with the user isfound in the cache 617, the service router 609 may route the user'srequest for the service based on the routing information in the cache617 (e.g., without asking the service router 611 for that information).

FIG. 7 depicts an illustrative example of a system and method forrouting a request for a service where the service is available in ageographical region. The system may include a first geographical region701, a second geographical region 703, a user device 705, a trafficmanager 707, one or more service routers (e.g., service routers 709,711), and one or more service servers (e.g., service servers 713A,713B). The service router 709 and the service servers 713A, 713B may bephysically located in the first geographical region 701. The servicerouter 711 may be physically located in the second geographical region703. There might not be a service server running the service in thesecond geographical region 703. The service might only be available inthe first geographical region 701 (or other geographical regions). Theelements are illustrative only, and it can be appreciated that theservice may be available in only one geographical region, in two orthree geographical regions, and so on.

A user may be a resident of the second geographical region 703, and theuser may be using the user device 705 in the first geographical region701. For example, the user may be on a business trip in the firstgeographical region. The user may enter a single DNS name to request theservice. The single DNS name may point to the traffic manager 707. Instep 751, the user device 705 may ask the traffic manager 707 to resolvethe single DNS name The traffic manager 707 may choose the servicerouter 709 to which to redirect the request for the service. In step753, the traffic manager 707 may return the DNS name or other networkaddress of the chosen service router 709. In step 755, the user device705 may send the request for the service to the service router 709 basedon the returned DNS name or other network address, and the servicerouter 709 may receive the request for the service.

Additionally or alternatively, the user device 705 may send the requestfor the service to the traffic manager 707. The traffic manager 707 mayreceive the request for the service and route the request for theservice to the service router 709. The traffic manager 707 may route therequest for the service to the service router 709 based on the DNS nameor other network address, and the service router 709 may receive therequest for the service.

The service router 709 may parse the URL of the request for the serviceand process the context of the request to determine the service that theuser is requesting and the identity of the user. The service router 709may determine that the service that the user is requesting is availablein the first geographical region 701, the user is not associated withthe first geographical region 701 (e.g., is not a resident of the firstgeographical region 701), and/or the user did not specify the user'sintention about the geographical region to send the request for theservice (e.g., the user entered a DNS name that did not indicate ageographical region).

In step 757, the service router 709 may send, to the service router 711,a request to determine if the user is associated with the secondgeographical region 703. The service router 711 may determine that theuser is associated with the second geographical region 703, but that theservice is not available in the second geographical region 703. Theservice router 711 may have, in its service table, references to theservices that are available, including a reference to the service in thefirst geographical region 701. The service router 711 may send aresponse to the service router 709. The response may indicate that theuser is associated with the second geographical region 703, and specifythe DNS name or other network address of a version of the servicechosen, in this example, the service server 713A. In step 761, theservice router 709 may send the request for the service to the serviceserver 713A.

The service router 709 may include or communicate with a cache 715. Thecache 715 may store the response received from the service router 711,including the information for routing the request for the service. Thenext time the service router 709 receives another request for theservice from the user of the user device 705, the service router 709might not have to ask the service router 711 for the routinginformation, and instead the service router 709 may send the request forthe service to an appropriate service server based on the informationstored in the cache 715.

FIG. 8 depicts an illustrative example of a system and method forrouting a request for a service where the user provides an indication ofa specific geographical region. The system may include a firstgeographical region 801, a second geographical region 803, a user device805, a traffic manager 807, one or more service routers (e.g., servicerouters 809, 811), and one or more service servers (e.g., serviceservers 813A, 813B, 815A, 815B). The service router 809 and the serviceservers 813A, 813B may be physically located in the first geographicalregion 801. The service router 811 and the service servers 815A, 815Bmay be physically located in the second geographical region 803. Theelements are illustrative only.

In this example, a user may be a resident of the second geographicalregion 803, and the user may be using the user device 805 in the firstgeographical region 801. For example, the user may be on a business tripin the first geographical region. The user may intend to send a requestfor a service to a specific geographical region by, for example,entering a geographically specific DNS name or other network addressthat points to the service router 809 located in the first geographicalregion 801. In step 851, the user device 805 may send a request for theservice to the service router 809 directly without asking the trafficmanager 807. After receiving the request for the service, the servicerouter 809 may determine whether the user is associated with the firstgeographical region 801.

The service router 809 may determine that the user is not associatedwith the first geographical region 801. In this example, the servicerouter 809 might not send a request to the other service router 811 orother service routers to determine whether the user is associated withthe second geographical region 803 because the user may intend to accessthe service in the first geographical region 801, but might not beassociated with the first geographical region 801. Upon thedetermination that the user is not associated with the firstgeographical region 801, the service router 809 may send a message offailure to the user device 805 in step 853.

FIG. 9 depicts an illustrative example of a method for routing a requestfor a service in a multiple geography environment. One or more steps ofthe method may be performed by a service router that receives a requestfor a service. The method may begin with step 901, where the servicerouter determines whether it has received a request for a service, suchas from a user device. If the determination is no, the service routermay keep listening to incoming traffic. If the determination is yes, themethod may proceed to step 903.

In step 903, the service router may determine whether the user specifiesa geographical region to which to send the request for the service. Forexample, the service router may determine whether the URL or otheridentifier entered by the user contains geographical information or aDNS name that points to the service router. This determination may allowthe service router to ascertain whether the user intended to request aservice in the specific geographical region or the user merely intendedto request the service regardless of the geographical region. If thedetermination is yes, then the method may proceed to step 905.Otherwise, the method may proceed to step 913.

In step 905, the service router may determine whether the user isassociated with the geographical region in which the service router islocated (or otherwise associated with). For example, the service routermay determine that the user is associated with the geographical regionif the user is allowed to request data from or send data to thegeographical region under the geographical region's data sovereigntylaws. The service router may maintain a list of users who are allowed torequest data from or send data to the geographical region under datasovereignty laws and then look up the user against the list of users tosee if there is a match. For example, a user may be deemed to be allowedto request data from or send data to the geographical region if the useris a resident or citizen of the geographical region. In one example, thelist of users may include many (e.g. all) the users that reside inand/or are citizens of the geographical region in which the servicerouter is located.

In another example, the service router may determine that the user isassociated with the geographical region if the user wants its data bephysically stored in the geographical region for privacy and securityconcerns. Storing the user's data in one geographical region may preventthe user's data from being stolen or obtained by others while beingstored in another geographical region.

In step 905, if the determination is no, the service router may, in step907, send a message of failure to the user device, indicating that theuser device is not permitted to access the service because the user isnot associated with the geographical region. In step 905, if thedetermination is yes, the method may proceed to step 909, where theservice router may determine a version of the service to which to sendthe user's request for the service. In step 911, the service router maysend the user's request for the service to the chosen version of theservice.

In step 913, the service router may perform a same or similardetermination as in step 905 (e.g., whether the user is associated withthe geographical region). If the determination in step 913 is yes, thenthe method may proceed to steps 909 and/or 911, as previously described.If the determination in step 913 is no, then the method may proceed tostep 915, where the service router may determine whether the cachestores information configured to route the request for the service. Forexample, the cache may maintain a database storing routing data. Therouting data may include one or more user's identities, one or moreservices, and one or more corresponding versions of the services in oneor more geographical regions. The service router may look up theidentity of the user and the service the user requested against thedatabase to determine if there is any corresponding version of theservice in a specific geographical region to which the user's requestfor the service may be routed. If the determination is yes, the methodmay proceed to step 917, where the service router sends the request forthe service based on the information stored in the cache. If thedetermination is no, the method may proceed to step 919.

In step 919, the service router may send one or more requests to one ormore service routers that are located in one or more other geographicalregions. The one or more requests may ask the other service routerswhether the user is associated with the other geographical regions.After receiving the requests, the other service routers may perform oneor more steps of a method as discussed below with reference to FIG. 10.

In step 921, the service router may determine whether it has received aresponse from one of the other service routers indicating that the useris associated with one of the other geographical regions. If thedetermination is no, the service router may send a message of failure tothe user device in step 907. If the determination is yes, the servicerouter may, in step 923, route the user's request for the service basedon the response received. The response may include routing information,such as the DNS name or other network address of the service server thatruns a version of the service in one of the other geographical regions.The service router may recreate the transaction and send the request forthe service to the DNS name or network address. In step 923, the servicerouter may also store the routing information in a cache, which may beused later to route subsequent requests for the service.

FIG. 10 depicts an illustrative example of a method for processing arequest from a first geographical region to determine whether the useris associated with a second geographical region. One or more steps ofthe method may be performed by a second service router located in orotherwise associated with the second geographical region.

The method may start with step 1001, where the second service router maydetermine whether it has received a request from the first servicerouter to determine whether the user is associated with the secondgeographical region. If the determination is no, then the second servicerouter may continue to listen to incoming traffic. If the determinationis yes, then the second service router may proceed to step 1003.

In step 1003, the second service router may determine whether the useris associated with the second geographical region. If the determinationis no, then the second service router may transmit an indication to thefirst service router that the user is not associated with the secondgeographical region. If the determination is yes, then the secondservice router may proceed to step 1007.

In step 1007, the second service router may determine whether theservice requested by the user is available in the second geographicalregion. In some examples, the service requested by the user may beavailable only in a few geographical regions. In some other examples,the service requested by the user may be available only in onegeographical region. If the determination in step 1007 is yes, then thesecond service router may, in step 1009, choose a version of the servicein the second geographical region. In step 1011, the second servicerouter may send a response to the first service router indicating thatthe user is associated with the second geographical region. The responsemay contain routing information such as the DNS name or other networkaddress of the chosen version of the service in the second geographicalregion.

In step 1007, if the determination is no, then the second service routermay choose a version of the service in the first geographical region orin other geographical regions where the service is available. The secondservice router may maintain a service table which includes a list ofreferences to the service in the other geographical regions that isavailable.

In step 1015, the second service router may send a response to the firstservice router, indicating the DNS name or other network address of thechosen version of the service in the geographical region where theservice is available.

Although the subject matter has been described in language specific tostructural features and/or methodological acts, it is to be understoodthat the subject matter defined in the appended claims is notnecessarily limited to the specific features or acts described above.Rather, the specific features and acts described above are described asexample implementations of the following claims.

What is claimed is:
 1. A system comprising: a first computing device;and a second computing device; wherein the first computing device islocated in a first geographic region and the second computing device islocated in a second geographic region different from the firstgeographic region; wherein the first computing device comprises: one ormore first processors; and memory storing first instructions that, whenexecuted by the one or more first processors, cause the first computingdevice to: receive, from a user device, a request for a service, whereinthe request indicates an identifier of the service; based on determiningthat the identifier of the service is independent of an indication of ageographic region and that a user of the user device is not associatedwith the first geographic region, send, to the second computing device,a request to determine whether the user is associated with the secondgeographic region; receive, from the second computing device, a responseindicating that the user is associated with the second geographicregion, wherein the response further indicates a version, of theservice, selected from a plurality of versions of the service; androute, based on the response and to the version of the service, therequest for the service; and wherein the second computing devicecomprises: one or more second processors; and memory storing secondinstructions that, when executed by the one or more second processors,cause the second computing device to: receive the request to determinewhether the user is associated with the second geographic region; andsend the response.
 2. The system of claim 1, wherein the firstinstructions, when executed by the one or more first processors, furthercause the first computing device to: receive, from the second computingdevice, a request to determine whether a second user is associated withthe first geographic region; based on determining that the second useris associated with the first geographic region, select, from theplurality of versions of the service and for the second user, a versionof the service; and send, to the second computing device, a responseindicating that the second user is associated with the first geographicregion and indicating the version of the service selected for the seconduser.
 3. The system of claim 1, wherein the first instructions, whenexecuted by the one or more first processors, further cause the firstcomputing device to: receive, from a second user device, a secondrequest for the service; and based on determining that a user of thesecond user device is associated with the first geographic region,select, from the plurality of versions of the service and for the userof the second user device, a version of the service to which to routethe second request.
 4. The system of claim 1, wherein the firstinstructions, when executed by the one or more first processors, furthercause the first computing device to store the response in a cache of thefirst computing device.
 5. The system of claim 1, wherein the firstinstructions, when executed by the one or more first processors, furthercause the first computing device to: receive, from a second user device,a second request for the service; and based on determining that routinginformation corresponding to the second user device is stored in a cacheof the first computing device, send, based on the routing information,the second request.
 6. The system of claim 1, wherein the identifier ofthe service comprises a Domain Name System (DNS) name of the service. 7.The system of claim 1, wherein the first instructions, when executed bythe one or more first processors, further cause the first computingdevice to determine that the user of the user device is not associatedwith the first geographic region by determining that the user of theuser device is not a resident of the first geographic region.
 8. Thesystem of claim 1, wherein the plurality of versions of the service areimplemented in one of the first geographic region or the secondgeographic region or in each of the first geographic region and thesecond geographic region.
 9. The system of claim 1, wherein the responseis configured to direct the request for the service to the version ofthe service implemented in the second geographic region.
 10. The systemof claim 1, wherein the second instructions, when executed by the one ormore second processors, further cause the second computing device to:determine, based on a plurality of users registered to the secondgeographic region, that the user is associated with the secondgeographic region; and select, from the plurality of versions of theservice, the version of the service.
 11. A method comprising: receiving,by a computing device located in a first geographic region and from auser device, a request for a service, wherein the request indicates anidentifier of the service; based on determining that the identifier ofthe service is independent of an indication of a geographic region andthat a user of the user device is not associated with the firstgeographic region, sending, to a computing device located in a secondgeographic region different from the first geographic region, a requestto determine whether the user is associated with the second geographicregion; receiving, from the computing device located in the secondgeographic region, a response indicating that the user is associatedwith the second geographic region, wherein the response furtherindicates a version, of the service, selected from a plurality ofversions of the service; and routing, based on the response and to theversion of the service, the request for the service.
 12. The method ofclaim 11, wherein the identifier of the service comprises a Domain NameSystem (DNS) name of the service.
 13. The method of claim 11, whereinthe determining that the user of the user device is not associated withthe first geographic region comprises determining that the user of theuser device is not a resident of the first geographic region.
 14. Themethod of claim 11, wherein the plurality of versions of the service areimplemented in one of the first geographic region or the secondgeographic region or in each of the first geographic region and thesecond geographic region.
 15. The method of claim 11, furthercomprising: receiving, by the computing device located in the secondgeographic region, the request to determine whether the user isassociated with the second geographic region; determining, based on aplurality of users registered to the second geographic region, that theuser is associated with the second geographic region; selecting, fromthe plurality of versions of the service, the version of the service;and sending, to the computing device located in the first geographicregion, the response.
 16. A system comprising: a first computing device;and a second computing device; wherein the first computing device islocated in a first geographic region and the second computing device islocated in a second geographic region different from the firstgeographic region; wherein the second computing device comprises: one ormore second processors; and memory storing second instructions that,when executed by the one or more second processors, cause the secondcomputing device to: receive, from the first computing device, a requestto determine whether a user of a user device is associated with thesecond geographic region, wherein the request is associated with aservice requested by the user device; determine, based on a plurality ofusers registered to the second geographic region, that the user isassociated with the second geographic region; select, from a pluralityof versions of the service, a version of the service; and send, to thefirst computing device, a response indicating that the user isassociated with the second geographic region, wherein the responsefurther indicates the selected version of the service; and wherein thefirst computing device comprises: one or more first processors; andmemory storing first instructions that, when executed by the one or morefirst processors, cause the first computing device to send the request.17. The system of claim 16, wherein the second instructions, whenexecuted by the one or more second processors, further cause the secondcomputing device to select the version of the service based ondetermining that the plurality of versions of the service are availablein the second geographic region.
 18. The system of claim 16, wherein theplurality of versions of the service are implemented in one of the firstgeographic region or the second geographic region or in each of thefirst geographic region and the second geographic region.
 19. The systemof claim 16, wherein the second instructions, when executed by the oneor more second processors, further cause the second computing device todetermine that the user is associated with the second geographic regionby determining that the user is a resident of the second geographicregion.
 20. The system of claim 16, wherein the first instructions, whenexecuted by the one or more first processors, further cause the firstcomputing device to: receive, from the user device, a request for theservice, wherein the request for the service indicates an identifier ofthe service; based on determining that the identifier of the service isindependent of an indication of a geographic region and that the user ofthe user device is not associated with the first geographic region,send, to the second computing device, the request to determine whetherthe user of the user device is associated with the second geographicregion; receive, from the second computing device, the response; androute, based on the response and to the version of the service, therequest for the service.